import mainIndex from "@/components/mainIndex";
const reception = {
  path: "/system/userManage",
  name: "userManageBase",
  component: mainIndex,
  meta: {
    title: "用户管理"
  },
  children: [
    {
      path: "/system/userManage",
      component: () => import("@/components/page_view/system/userManage"),
      name: "userManage",
      meta: {
        title: "用户管理",
        pCode: "system",
        keep: true
      }
    },
    {
      path: "/system/userManage/addUser",
      component: () =>
        import("@/components/page_view/system/userManage/modules/userForm"),
      name: "addUser",
      meta: {
        title: "新建用户",
        pname: "userManageBase",
        pCode: "system:userManage"
      }
    },
    {
      path: "/system/userManage/editUser/:userId",
      component: () =>
        import("@/components/page_view/system/userManage/modules/userForm"),
      name: "editUser",
      meta: {
        title: "修改用户",
        pname: "userManageBase",
        pCode: "system:userManage"
      }
    }
  ]
};
export default reception;
